package kr.hkit.powerjava.chther04;

import java.util.Scanner;

import javax.naming.spi.DirStateFactory.Result;

public class programming4 {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		double a;//화씨온도
		double reslut;//섭씨온도환산
		
		System.out.print("화씨온도:");
		
		a=input.nextDouble();
		
		reslut = (5.0/9.0)*(a-32);//계산식
		
		System.out.println("섭씨온도는:"+reslut);
	}
}
